Unbreak the build in the non-CONFIG_SMP and x86_64 cases.
authorsos22@douglas.cl.cam.ac.uk <sos22@douglas.cl.cam.ac.uk>
Fri, 19 Aug 2005 14:10:24 +0000 (14:10 +0000)
committersos22@douglas.cl.cam.ac.uk <sos22@douglas.cl.cam.ac.uk>
Fri, 19 Aug 2005 14:10:24 +0000 (14:10 +0000)
Signed-off-by: Steven Smith, sos22@cam.ac.uk
linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c
linux-2.6-xen-sparse/arch/xen/x86_64/kernel/process.c
linux-2.6-xen-sparse/arch/xen/x86_64/kernel/smpboot.c

index 12a47fb4e367c1892d55c890633871f242916249..88004e76bd66c976396396a0a8b7795623036212 100644 (file)
@@ -790,3 +790,10 @@ unsigned long arch_align_stack(unsigned long sp)
                sp -= get_random_int() % 8192;
        return sp & ~0xf;
 }
+
+
+#ifndef CONFIG_X86_SMP
+void _restore_vcpu(void)
+{
+}
+#endif
index d1a7acefaa7df0a367d9fedafab241ef34b2ad61..9aae8ef74aba94bce590330de4fe3a82f2bbf543 100644 (file)
@@ -743,3 +743,9 @@ unsigned long arch_align_stack(unsigned long sp)
                sp -= get_random_int() % 8192;
        return sp & ~0xf;
 }
+
+#ifndef CONFIG_SMP
+void _restore_vcpu(void)
+{
+}
+#endif
index b8cf136caf14b3507c9ae9c7f7e5a4204d31a2a3..c4247881a7f3a79f50f694c654bfc265ed35a562 100644 (file)
@@ -1286,4 +1286,10 @@ void smp_resume(void)
        smp_intr_init();
        local_setup_timer_irq();
 }
+
+void _restore_vcpu(void)
+{
+       /* XXX need to write this */
+}
+
 #endif